package com.l024.loanthief.base.activity;

import android.app.Activity;
import android.content.Intent;

import androidx.fragment.app.Fragment;

/**
 * @author wu_ming_zhi_bei
 * @date 2021/1/18 14:57
 * @Notes
 */
public class BaseFragment extends Fragment {
    /**
     * 跳转activity
     */
    public void goActivity(Activity activity, Class cls){
        Intent intent = new Intent(activity,cls);
        activity.startActivity(intent);
    }
}
